package com.apec.delay.constants;

/**
 * @Description
 * @Author wangdingfu
 * @Date 2020-11-13
 */
public enum DelayTypeEnum {
    DELAY_10s,
    DELAY_60s;


    public static DelayTypeEnum getDelayTypeEnumByValue(Integer time) {
        if (time == 10) {
            return DelayTypeEnum.DELAY_10s;
        }
        return DelayTypeEnum.DELAY_60s;
    }
}
